<!DOCTYPE html>
<html lang="en">
<head>
   <meta charset="UTF-8">
   <!--根据设计图 的媒体查询 单位像素-->
   <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
   <title>我的报名中心</title>
   <link rel="stylesheet" href="__HOME__/css/font-size.min.css">
   <link rel="stylesheet" href="__HOME__/css/style.css">
</head>
<body>
   <ul class="activity-list">
      {foreach name="list" item="vo"}
      <li>
         <div class="com_width container">
            <img src="{$vo.acinfo.imgurl}" alt=""  class="left">
            <div class="right">
               <h3 class="title">{$vo.acinfo.title}</h3>
               <div class="date">活动时间：<span class="text">{$vo.acinfo.starttime}至{$vo.acinfo.endtime}</span></div>
               <div class="type-residue">
                  <div class="type">活动类型：<span class="text">{if $vo.acinfo.type_id==1}未成年人{elseif $vo.acinfo.type_id==2}成年人{else}家庭{/if}</span></div>
                  <div class="residue">状态：<span class="text">{if $vo.status==1}<font color="#828282">已使用</font>{elseif $vo.status==-1}<font color="#d3251e">爽约</font>{else}<font color="#1bad22">待参加</font>{/if}</span></div>
               </div>
            </div>
         </div>
         <a href="{:url('index/del',array('id'=>$vo.sign_id))}" class="my-list com_width">取消报名</a>
         <a href="{:url('index/code',array('id'=>$vo.sign_id))}" class="code">
            <img src="__HOME__/images/code-1.png" alt="">
            <span>入场请出示核验码</span>
         </a>
      </li>
      {/foreach}
   </ul>
   <div class="hint-text">温馨提示：请珍惜报名机会，<span>爽约超过3次，将会限制你后续的参加资格哟。</span></div>
   <style>
      .my-list{display: block;
         margin: 1.2rem auto 1.6rem;
         padding: 0.8rem 0;
         background: #ef4f4f;
         border-radius: 5px;
         font-size: 1.2rem;
         color: #fff;
         text-align: center;}
   </style>
</body>
</html>